package com.myjianzhu.zzt88.carouse;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;

import com.myjianzhu.zzt88.exercise.R;


public class CarouselActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_carouse);
        CarouseView carouseView = (CarouseView) findViewById(R.id.carouse_view);
        carouseView.initLayout();
    }


    public static void start(Activity activity) {
        Intent intent = new Intent(activity, CarouselActivity.class);
        ActivityCompat.startActivity(activity, intent, null);
    }
}
